import { BasePlugin } from "./BasePlugin";
import { ShellUtil } from "../util/ShellUtil";
import { SvnUtil } from "../util/SvnUtil";
import { createCipher } from "crypto";
import { Main } from "../Main";
export class UpdateConfig extends BasePlugin {
    getName(): string {
        return "更新config";
    }    
    getDesc(): string {
        return "更新config";
    }
    do(args: string[], cb:()=>void): void {
        SvnUtil.update("http://zhaozhantao@45.251.23.90:9090/cardT/config", Main.projPath + "config/", ()=>{
            console.log("ok");
            cb();
        });
    }

}